add selectable (but static) SFP Base-X support - #18
Conversation
d200120 to
9b7aa44
Compare
506dff6 to
269900b
Compare
5f5f0b1 to
18571d9
Compare
|
|
||
| Upstream-Status: Inappropriate [product-specific] | ||
| --- | ||
| .../cpu/armv8/fsl-layerscape/ls1046a_serdes.c | 2 + |
|
One comment on the two patch files: they have a More importantly, I think that's how a hunk went missing. but the body only contains Regenerating both patches with |
After creating the initial PR, I have been using I'll re-generate both patches with |
18571d9 to
7d13b3b
Compare
(This replaces #13 because github closed my PR, and I don't know how to reopen it.)
This adds support for "downgrading" either of the SFP+ ports to SFP ports with a firmware update.
There are 3 places where the port type must be configured:
The way that this patch works is by having U-Boot inspect the RCW, and perform fixups for the retimer and devicetree to match what it finds.
This means that the RCW is the only difference between firmware images. SFP0TYPE and SFP1TYPE can be set in site.conf (or elsewhere) to either "10g" (the default) or "1g" to determine what RCW will be included. Compared to the previous PR, I removed support for 1g+1g, and also limited 10g+1g to have the rightmost port as 1g. The two removed modes did not work reliably for different reasons. (But can very likely be added with a different mechanism.)